home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
msdos
/
raytrace
/
pov
/
gen
/
diamndrv
/
diamond2.doc
< prev
next >
Wrap
Text File
|
1993-04-23
|
2KB
|
59 lines
This program generates a PoV data file containing a DECLAREd
diamond composite based on user defined variables. Actually, it draws a
whole scene (light/view/floor, etc.). I got carried away. An outline of the
diamond is displayed in graphics mode.
To quote a buddy on user code modifications "You break it, you own
both halves". If you make any enhancements, please add your notes to
this document (and please send a copy back to me via BBS).
I can be reached at YOU CAN CALL ME RAY RBBS (708) 358-5611.
"Its my world and you're welcome to it".
Ken Koehler (3-31-91)
Enclosed are the following files:
DIAMOND.BAS QuickBASIC source
DIAMOND.EXE MS-DOS executable
DIAMOND.DOC This file
Top Radius
Side View Top View |<--->|
/------------\ /----------\ /------------\ -\_Top
/______________\ / \ ___ /______._______\ -/ Hieght
\ / | | B D /|\ \ ^ /.
\ / | | o e | \ origin / .
\ / | | t p | \ / .
\ / | | t t | \ / .
\ / \ / o h | \ / .
\ / \__________/ m | \ / .
\ / \|/ \ / .
\/ --- \/ .
|<------>|
Center Radius
Number of sides : What it says. Example above has 8.
Top Radius from center: See diagram.
Top Height from center: See diagram.
Center Radius from center: See diagram.
Bottom Depth from center: See diagram.
Applications notes: A picture paints a thousand words.
This text drawing should be worth a few hundred.
23/4/93
------------------------------------------------------------------------------
After several attempts to contact Ken Koehler, I decided to convert DIAMOND
to generate PoV 1.0 data files myself. I've also changed the texture of the
diamond. The texture now contains ALPHA, REFRACTION & IOR values, giving the
diamond real natural properties. Please be aware that this adds considerably
to the CPU time it takes to generate the scene file. Comment out when testing!
Jeroen van den Bos
(I can be reached on The Graphics Alternative BBS)